﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace CloverNet.Authorization
{
    public class RolePermissionCollection : Collection<RolePermissionPair>
    {
        public RolePermissionCollection() { }

        public RolePermissionCollection(IList<RolePermissionPair> list) : base(list) { }

    }


    public class RolePermissionPair
    {
        public object Role { get; set; }

        public object[] Permissions { get; set; }

        public RolePermissionPair(object role, object[] permissions)
        {
            Role = role;
            Permissions = permissions;
        }
    }

}
